package com.ldgk.pim.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ldgk.pim.data.Visit;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface VisitServiceAsync {
	public void persist(Visit visit, AsyncCallback<Void> callback);
	public void delete(Visit visit, AsyncCallback<Void> callback);
	public void findByPlace(long placeId, AsyncCallback<List<Visit>> callback);
}
